package com.spring.gop.proj.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Delete;

import com.spring.gop.proj.model.Faq;

public interface FaqMapper {
	List<Faq> selectFaqt();
	List<Faq> selectFaqu();
	List<Faq> selectFaqp();
	List<Faq> selectFaqc();
	List<Faq> selectFaqe();
	List<Faq> selectFaqs();
	Faq selectFaq(int num);
	
	public void insertFaq(Faq faq);
	
	public void readcount(int num);
	
	public void updateFaq(Faq faq);
	
	@Delete("delete faq_board where num=#{num}")
	public void delFaq(int num);
}
